# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header

IUSE=""
DESCRIPTION="2x Terminal Server."
HOMEPAGE="http://code.2x.com/linuxterminalserver/wiki"

PVP=(${PV//./ })

# PV=PVP3, based on NV-PVP0-2   ;)

MYP=${PN}-${PVP[0]}.${PVP[1]}.${PVP[2]}-${PVP[3]}
SRC_URI="http://code.2x.com/release/linuxterminalserver/NX-${PVP[0]}.${PVP[1]}/${MYP}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"

DEPEND=">=dev-libs/openssl-0.9.6d"

src_install() {
	make DESTDIR="${D}" install || die
}
